package com.haier.npt.gateway.log;

import java.util.*;

/**
 * @Description:
 * @author: lixu
 * @date:   2018年7月12日 下午9:24:13   
 */
public class LogEntity {
	/*
	请求开始时间
	执行时间（毫秒）
	网关IP
	请求URL
	路由URL
	执行状态：成功、失败、超时
	客户端IP
	客户端IP所在城市
	来源平台：PC、Web、IOS、Android、Other
	来源版本
	用户ID
	 * */
	Date startTime;
	int consumeTime;
	String gatewayIp;
	String serverName;
	String url;
	int status;
	String clientIp;
	String clientPlatform;
	String clientVersion;
	String userName;

	public Date getStartTime() {
		return startTime;
	}

	public void setStartTime(Date startTime) {
		this.startTime = startTime;
	}

	public int getConsumeTime() {
		return consumeTime;
	}

	public void setConsumeTime(int consumeTime) {
		this.consumeTime = consumeTime;
	}

	public String getGatewayIp() {
		return gatewayIp;
	}

	public void setGatewayIp(String gatewayIp) {
		this.gatewayIp = gatewayIp;
	}

	public String getServerName() {
		return serverName;
	}

	public void setServerName(String serverName) {
		this.serverName = serverName;
	}

	public String getUrl() {
		return url;
	}

	public void setUrl(String url) {
		this.url = url;
	}

	public int getStatus() {
		return status;
	}

	public void setStatus(int status) {
		this.status = status;
	}

	public String getClientIp() {
		return clientIp;
	}

	public void setClientIp(String clientIp) {
		this.clientIp = clientIp;
	}

	public String getClientPlatform() {
		return clientPlatform;
	}

	public void setClientPlatform(String clientPlatform) {
		this.clientPlatform = clientPlatform;
	}

	public String getClientVersion() {
		return clientVersion;
	}

	public void setClientVersion(String clientVersion) {
		this.clientVersion = clientVersion;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}


}
